home *** CD-ROM | disk | FTP | other *** search
- Path: news.nkn.net!news
- From: kidzi@dfw.nkn.edu (Wizard of Id)
- Newsgroups: comp.lang.c++
- Subject: Re: memcopy...
- Date: Sun, 21 Apr 1996 09:17:22 GMT
- Organization: National Knowledge Network
- Message-ID: <3179fcbf.23219118@news.nkn.net>
- References: <4ksiul$n1o@news.duke.edu> <marnoldDpw3qC.KH3@netcom.com>
- NNTP-Posting-Host: port9.nkn.edu
- X-Newsreader: Forte Agent .99d/32.168
-
- On Mon, 15 Apr 1996 06:08:36 GMT, marnold@netcom.com (Matt Arnold)
- wrote:
-
- >Joshua Lindquist <lindquij@acpub.duke.edu> writes:
- >
- >
- >>Hi...I'm wondering if anyone knows the syntax for the memcopy function
- >>(well, I think it's memcopy...it might be something similar to
- >>memcopy...it's the function that copies some specified area of memory
- >>bitwise into some other area of memory). This would be very helpful;
- >>thanks much.
- >
- >Don't you have any documentation? You could at least look in your
- >"mem.h" header file (I assme you have it, otherwise you wouldn't be
- >asking how to use it).
- >
- >The function is memcpy(), prototyped in my "mem.h" as...
- >
- > void *memcpy(void *dest, const void *src, size_t n);
- >
- >Where dest points to the place you want the memory pointed to by src
- >to go. n is the number of bytes to copy from src to dest.
- >
- >This is really basic. What programming resources do you have? May I
- >suggest getting better resources? For example, I can go to my
- >compiler's help and type "memcpy" and see documentation for it. Can't
- >you do something like this?
- >
- >Regards,
-
- You know what, you're a real wise ass. If he wished for a comment
- like that, then i'm sure he wouldn't have asked it, because I myself
- am having problems right now with that command. Considering my
- program halts when i try to move text memory, b800, around the place,
- i think it's a useful question that deserves a good answer, not some
- fluff to help boost your ego. geez.
-